package com.vcs.scheduler.quartz;

import java.util.Map;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class ResumeServicesMailJob implements Job{

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		
		Map dataMap = context.getJobDetail().getJobDataMap();
		ResumeServicesMailTask task = (ResumeServicesMailTask) dataMap.get("resumeServicesMailTask");
		System.out.println("Task is " + task);
		task.sendScheduledMail();
	}
	
	

}
